const Koa=require("koa")
const Cors=require("koa-cors")
const bodyparser=require("koa-bodyparser")
const app=new Koa()
const Router=require("./router/index")

app.use(Cors())
app.use(bodyparser())
Router(app)


app.listen(8888,()=>{
    console.log("启动成功")
})

